<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"  %>
<%@ page import="edu.njfu.sas.util.PageUtil" %>
<link rel="stylesheet" href="css/style1.css">
<ul>
    <li><a href="liststudentsbypaging.jsp?page=1">首 页</a></li>
    <%
        if( currentPage == 1){
    %>
    <li><a href="liststudentsbypaging.jsp?page=<%=currentPage-1%>">上一页</a></li>
    <%
        }
    %>
    <%
    if(currentPage==pageUtil.getMaxPage()){
    %>
    <li><a href="liststudentsbypaging.jsp?page=<%=currentPage+1%>">下一页</a></li>
    <%
        }
    %>
    <li><a href="liststudentsbypaging.jsp?page=<%=pageUtil.getMaxPage()%>">尾 页</a></li>
</ul>